-
Notifications
You must be signed in to change notification settings - Fork 1k
SIP-NN - Curried varargs #1487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIP-NN - Curried varargs #1487
Conversation
I like this a lot:
These benefits are all on top of those that Yang Bo lists, e.g. better perf for XML literal construction, string interpolators, and collection companion factories. It’s not common that a new technique allows both better abstraction, better flexibility, and better performance. This definitely seems like one of those cases. Details will need to be worked out, but in principle this is great! |
I agree! This would be huge for making dependently typed apis much more user friendy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the proposal, @Atry. We'll discuss it at the next SIP meeting. There is not scheduled date yet.
See discussion at https://contributors.scala-lang.org/t/pre-sip-curried-varargs/3608